/**
 * Created by Administrator on 16-2-22.
 */
/**
 * Created by Administrator on 16-1-27.
 */
define([
    "jquery",
    "IO",
    "UPLOADUI",
    "UPLOAD",
    "jqueryUI",
    "bootbox"

], function ($, IO, upui, up, jui,bootbox) {
    $(document).on("click", ".delete", function () {
        var id = $(this).attr("data-id")
        bootbox.confirm("确定要删除？",function(result){
            if(result) {
                IO.get('/keb/api/zhongjianglb', {id: id}, function (data) {
                    $(document).ready(function(){
                        $(".first-category").remove();

                    })
                })
            }
        });
    })

})